namespace IQIGame.Onigao.GamePlay
{
    public static class RegisterDynParamProcess
    {
        public static DynParamProcessBase[] CreateDynParamProcesses(LevelPlayRegionController regionCtrl)
        {
            var register = new DynParamProcessBase[EntityDynamicParamTypeUtil.EnumLength];
            register[(int)EntityDynamicParamType.TriggerRect] = new DynParamProcessTriggerRect(regionCtrl);
            register[(int)EntityDynamicParamType.Ledge] = new DynParamProcessLedge(regionCtrl);
            register[(int)EntityDynamicParamType.Elevator] = new DynParamProcessElevator(regionCtrl);
            register[(int)EntityDynamicParamType.EntitySwitchState] = new DynParamProcessSwitchState(regionCtrl);
            register[(int)EntityDynamicParamType.House] = new DynParamProcessHouse(regionCtrl);
            register[(int)EntityDynamicParamType.Area] = new DynParamProcessArea(regionCtrl);
            return register;
        }
    }
}